EMT Practice Test

1. Question Content...


Question List

Question1: To prevent a specific user from scheduling tasks with at, what should the administrator do?

Question2: Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)

Question3: Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

Question4: Which of the following is a valid IPv6 address?

Question5: Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

Question6: What is true regarding the file ~/.forward?

Question7: A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in his spreadsheets. What must be done to fix this?

Question8: Why is the xhost program considered dangerous to use?

Question9: By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

Question10: Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)

Question11: Which command allows you to make a shell variable visible to subshells?

Question12: Which of the following statements is true if the UID of a regular user is identical to the GID of a group?

Question13: Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?

Question14: Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)

Question15: What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Question16: What output will the command seq 10 produce?

Question17: Given the following routing table:

How would an outgoing packet to the destination 192.168.2.150 be handled?

Question18: Which of the following commands should be executed when starting a login shell in order to change the language of messages for an internationalized program to Portuguese (pt)?

Question19: What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)

Question20: Which of the following statements about sytemd-journald are true? (Choose three.)

Question21: Given the following excerpt of the sudo configuration:
jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Which of the following statements are true? (Choose three.)

Question22: Which of the following connection types, as seen in unroll connection show, may exist in Network Manager?
(Choose THREE correct answers.)

Question23: Which configuration file would be edited to change the default options for outbound SSH sessions?

Question24: What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

Question25: Which crontab entry could be used to set the system time at regular intervals?

Question26: What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)

Question27: What output will the following command produce?
seq 1 5 20

Question28: Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

Question29: Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?

Question30: Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)

Question31: What is a purpose of an SSH host key?

Question32: Why is the correct configuration of a system's time zone important?

Question33: Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?

Question34: Which of the following commands can be used to convert text files in one character encoding to another character encoding?

Question35: How is a display manager started?

Question36: Which of the following commands can be used to limit the amount of memory a user may use?

Question37: Which command will set the local machine's timezone to UTC?

Question38: What command displays all aliases defined in the current shell? (Specify the command without any path information)

Question39: Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

Question40: Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information?
(Specify ONLY the option without any values or parameters.)

Question41: Which command makes the shell variable named VARIABLE visible to subshells?

Question42: What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)

Question43: Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

Question44: After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

Question45: Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)

Question46: Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

Question47: Which of the following commands lists all defined variables and functions within Bash?

Question48: What is the purpose of the nsswitch.conf file?

Question49: Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

Question50: On a dual boot system, every time the system is booted back into Linux the time has been set backward by one day. Which of the following commands will correct the problem?

Question51: Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

Question52: Which of the following steps prevents a user from obtaining an interactive login session?

Question53: In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

Question54: Which file used by XDM specifies the default wallpaper?

Question55: The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)

Question56: Which of the following protocols is related to the term open relay?

Question57: Which of the following tasks can the date command accomplish? (Choose two.)

Question58: What is true about the file /etc/localtime?

Question59: Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

Question60: What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Question61: What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

Question62: Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Question63: Which of the following statements is valid in the file /etc/nsswitch.conf?

Question64: Each entry in a crontab must end with what character?

Question65: With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Question66: Which of the following is observed and corrected by a NTP client?

Question67: Which of the following is the best way to list all defined shell variables?

Question68: Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Question69: In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

Question70: Which of the following details is NOT provided in any output from the netstat utility?

Question71: Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?

Question72: Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

Question73: Which of the following commands will help identify a broken router between the local and the remote machine?

Question74: Which of the following lines is an example of a correct setting for the DISPLAY environment variable?

Question75: What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

Question76: Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

Question77: What is true regarding a default route?

Question78: On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?

Question79: Where are user specific crontabs stored?

Question80: Which file, if present, must contain all users that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

Question81: An administrator wants to determine the geometry of a particular window in X, so she issues the __________
-metric command and then clicks on the window.

Question82: Which of the following are syslog facilities? (Choose TWO correct answers.)

Question83: Which of the following commands displays all environment and shell variables?

Question84: What is the conventional purpose of Linux UIDs that are lower than 100?